package com.uyun.rbac.permission.entity;

import java.util.List;

/**
 * Created by Administrator on 2016/7/29.
 */
public class MenuEntity {

    private Integer id;
    private Integer pid;
    private String name;
    private String url;
    private List<MenuEntity> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<MenuEntity> getChildren() {
        return children;
    }

    public void setChildren(List<MenuEntity> children) {
        this.children = children;
    }

    /*    @Override
    public int hashCode() {
        final int prime = 31;
        result = prime * result + id;
        return result;
    }*/


}
